package com.huatai.manage.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.huatai.manage.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 * 模型类型管理（字典）;
 * </p>
 *
 * @author luoxc
 * @since 2023-03-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_model_type")
@ApiModel(value="TbModelType对象", description="模型类型管理（字典）;")
public class TbModelTypeEntity extends BaseEntity {

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "模型类型id")
    private String modelTypeId;

    @ApiModelProperty(value = "主类型编号")
    private String mainTypeNum;

    @ApiModelProperty(value = "编码名称")
    private String numName;

    @ApiModelProperty(value = "类型编码")
    private String typeNum;

    @ApiModelProperty(value = "类型名称")
	@NotBlank(message = "类型名称不能为空！")
    private String typeName;

    @ApiModelProperty(value = "状态")
	private String state = "1";

    @ApiModelProperty(value = "备注")
    private String remark;



}
